package logic

import (
	"context"

	"go-zero-mult/service/rpc/merchant/internal/svc"
	"go-zero-mult/service/rpc/merchant/merchant_pb"

	"github.com/tal-tech/go-zero/core/logx"
)

type MerchantLoginLogic struct {
	ctx    context.Context
	svcCtx *svc.ServiceContext
	logx.Logger
}

func NewMerchantLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MerchantLoginLogic {
	return &MerchantLoginLogic{
		ctx:    ctx,
		svcCtx: svcCtx,
		Logger: logx.WithContext(ctx),
	}
}

func (l *MerchantLoginLogic) MerchantLogin(in *merchant_pb.LoginReq) (*merchant_pb.LoginResp, error) {
	// todo: add your logic here and delete this line

	return &merchant_pb.LoginResp{}, nil
}
